<?php
class Cert extends FrontAction{
	function index(){
		$db = $this->getDB(); 
		
		$certs = $db->query_assoc("select * from cert where lang = '$this->lang' order by createtime desc ");
		$this->data['certs'] = $certs;
		
		template('cert',$this->data);
	}
}
